-
Notifications
You must be signed in to change notification settings - Fork 433
[DataGrid] Resize enhancements #3767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Change resize handle to use a plain div instead of FluentDivider - Change styling to adapt to the above
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
- Update Unit Test verified files
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 59.6%
|
This looks great to me. Does the color of the bar meet contrast requirements? |
Just because I'd like to know. Is there any way to save the sizing somewhere e.g. in the localStorage? |
The original column values are saved in the script on initialization of the page. You can reset to those by using the reset button in the resizing option dialogs (discrete/exact resizing) or by using the shift+R key combination. |
I'll check. It is using a token value, so it should be ok. I'll choose another one if not. |
Previously, when a DataGrid has
ResizeColumns="true"
, you could only resize a column by grabbing the right edge of the column header:With this PR we are extending the resizing to all rows and on top of that, we are showing an indicator across the whole column to make it clearer how the resizing will affect the column.